$(function(){
 //range span
  let $range =$('input'),
      $age   =$('span');

      $range.change(()=>{
        $age.html($range.val());

      });
});
